package billing.logger;

public enum Level {
	
	ALL("ALL", "all", 0), 
	DEBUG("DEBUG", "debug", 10), 
	INFO("INFO", "info", 20), 
	WARN("WARN", "warn", 30), 
	ERROR("ERROR", "error", 40), 
	FATAL("FATAL","fatal", 50), 
	OFF("OFF", "off", 60),
	TRACE("TRACE", "trace", 100),
	SYSTEM("SYSTEM", "system", 1024);

	private String upperCase;
	private String lowerCase;
	private int levelValue;

	private Level(String upperCase, String lowerCase, int levelValue) {
		this.upperCase = upperCase;
		this.lowerCase = lowerCase;
		this.levelValue = levelValue;
	}

	public String getUpperCase() {
		return upperCase;
	}

	public String getLowerCase() {
		return lowerCase;
	}

	public int getLevelValue() {
		return levelValue;
	}
}
